package com.letoken.platform.repo.admin.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.letoken.platform.repo.admin.po.AdminIssueConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.letoken.platform.repo.admin.req.config.QueryCirculationConfigReq;
import com.letoken.platform.repo.admin.req.config.QueryIssueConfigReq;
import com.letoken.platform.repo.admin.req.config.QueryRewardConfigReq;
import com.letoken.platform.repo.admin.res.config.QueryCirculationConfigRes;
import com.letoken.platform.repo.admin.res.config.QueryIssueConfigRes;
import com.letoken.platform.repo.admin.res.config.QueryQuickswapConfigRes;
import com.letoken.platform.repo.admin.res.config.QueryRewardConfigRes;
import com.letoken.platform.repo.app.res.config.QueryAppIssueConfigRes;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者
 * @since 2022-11-24
 */
public interface AdminIssueConfigMapper extends BaseMapper<AdminIssueConfig> {

    QueryIssueConfigRes queryIssueList(@Param("req") QueryIssueConfigReq req);

    Page<QueryRewardConfigRes> queryRewardList(@Param("page") Page<QueryRewardConfigRes> page, @Param("req") QueryRewardConfigReq req);

    QueryCirculationConfigRes queryCirculationList(@Param("req") QueryCirculationConfigReq req);

    QueryAppIssueConfigRes queryLetokenIssueConfig();

    QueryRewardConfigRes queryReward();
}
